

package cn.shengchao.examstar.pay.infrastructure.dao.po;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import top.continew.starter.extension.crud.model.entity.BaseIdDO;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("pay_order_item")
public class PayOrderItem extends BaseIdDO {
    /**
     * 用户ID
     */
    private String userId;
    /**
     * 商品ID
     */
    private String productId;
    /**
     * 商品
     */
    private String productName;
    /**
     * 订单ID
     */
    private String orderId;
    /**
     * 下单时间
     */
    private Date orderTime;
    /**
     * 原价
     */
    private BigDecimal price;
    /**
     * 订单金额
     */
    private BigDecimal totalAmount;

    /**
     * 产品信息
     */
    private String productInfo;

    private String status;
}
